package top.likeqc.mapper;

import top.likeqc.dto.PaperAnswerDTO0;
import top.likeqc.entity.Answer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.likeqc.vo.AnswerCountVO;

import java.util.List;

/**
 * <p>
 * 答案 Mapper 接口
 * </p>
 *
 * @author likeqc
 * @since 2022-04-16
 */
public interface AnswerMapper extends BaseMapper<Answer> {

    List<PaperAnswerDTO0> getPaperAnserByPaperId(Long paperId, Long gradeId);

    List<AnswerCountVO> getAnswerCountVOList(Long paperId);
}
